fix(security): keep every CodeQL Action phase on one revision - #780
fix(security): keep every CodeQL Action phase on one revision#780seonghobae wants to merge 26 commits into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
/oc Refetch the live pull request and abort without writing unless its exact head is |
Rebuild the PR from protected develop with only the atomic CodeQL lifecycle update, its test-first contract, doctoring record, and changelog entry. Remove unrelated PDF.js and npm lockfile drift from this branch.
8d932e5 to
efd875b
Compare
|
Exact-head triage at |
|
@opencode-agent Review the exact current head |
Update every CodeQL lifecycle phase and SARIF uploader to the verified upstream v4.37.7 commit, refresh the regression contract, changelog, and doctoring, and record the v2.26.3 bundle update. Preserve immutable SHA pinning and the existing atomic-version policy.
|
Queued @opencode-agent for PR #780 at head |
|
Already queued @opencode-agent on this exact request for PR #780 at head |
3 similar comments
|
Already queued @opencode-agent on this exact request for PR #780 at head |
|
Already queued @opencode-agent on this exact request for PR #780 at head |
|
Already queued @opencode-agent on this exact request for PR #780 at head |
|
Already queued @opencode-agent on this exact request for PR #780 at head |
|
@opencode-agent Repair the exact current-head Ruff formatter blocker on the existing |
|
/oc Refetch PR #780 and abort without writing unless the live branch is Systematic-debugging evidence for this exact head:
The hand-edited layout on Verification acceptance on the successor exact head: focused |
|
@opencode-agent Repair only the current exact-head formatter blocker on the existing Authoritative current-head RED evidence is CI run Run the repository-pinned formatter ( |
Ordinary-merge the current protected develop lineage into the canonical CodeQL lifecycle lane while making the next coordinated repair executable. The deterministic RED contract requires CodeQL Action v4.37.9 across every checked-in phase, the repository CI/CD Dependabot label, and pull-request Scorecard evidence that checks out trusted normalization code from the base. Production workflows are intentionally unchanged in this commit. No predecessor check, review, or approval evidence transfers.
Advance every checked-in CodeQL Action phase to the same immutable v4.37.9 commit, preserve Scorecard pull-request evidence behind a trusted base-SHA normalization checkout, and route GitHub Actions Dependabot updates to the existing area: ci-cd taxonomy. The preceding commit holds the deterministic RED contracts; this commit supplies the smallest owning workflow/config fix. The upstream v4.37.9 tag resolves to cdf488f595d80d6e07e03d4674febd5ab45fa938 and is unsigned; no signed-tag claim is made. Split or predecessor checks and reviews do not transfer.
|
Succession update for #1144: fresh organization ruleset |
Adopt develop's exact Tauri lockfile artifact without regenerating or hand-editing it; the CodeQL/security workflow delta remains unchanged.
Outcome
Keep BandScope's checked-in CodeQL lifecycle under one canonical supply-chain owner instead of merging
init,autobuild,analyze, andupload-sarifDependabot fragments independently. The branch also preserves the valid repository-control deltas absorbed from competing PR #1026 while leaving organization-wide Scorecard/queue policy with its canonical owner.Fresh exact identity
develop@889d782e88b4df28dcbb4ae3cfd6d99ef85d9844.fix/codeql-action-consistency-v4-37-6.a08e154e5a4503b01aa60a75ffd423ec8b5fc41b.e9f222e1ca6e9f818ed1da4c47a522c8260bd5a9was merged with protecteddevelop@889d782e...; the only intervening protected delta wasapps/desktop/src-tauri/Cargo.lock, adopted byte-for-byte from protected develop rather than hand-edited or regenerated.develop:ahead_by=26,behind_by=0, merge base exactly889d782e88b4df28dcbb4ae3cfd6d99ef85d9844..github/dependabot.yml, CodeQL/Scorecard/Trivy workflows, one doctoring note, and four executable CodeQL/Scorecard/Dependabot regression contracts.apps/desktop/src-tauri/Cargo.lockis not a PR delta after restack.Atomic v4.37.9 lifecycle
Every checked-in
github/codeql-action/init,autobuild,analyze, andupload-sarifreference in this owner lane uses immutable commitcdf488f595d80d6e07e03d4674febd5ab45fa938withv4.37.9annotation.Upstream resolution on 2026-09-02 found
refs/tags/v4.37.9-> annotated tag objecta35ac6e6798d72df5475948b28efb89edc2e19ca-> commitcdf488f595d80d6e07e03d4674febd5ab45fa938. The tag is unsigned, so this PR makes no signed-tag claim. v4.37.9 advances the default CodeQL bundle to 2.26.4.services/analysis-engine/tests/test_codeql_action_revision_contract.pyscans every workflow forinit|autobuild|analyze|upload-sarif, catches mutable/malformed refs, and requires the reviewed SHA plus matching release annotation.codeql.ymladditionally keeps init/autobuild/analyze atomic.Preserved repository-control behavior
The competing lifecycle writer #1026 contained non-version deltas that were not safe to discard. Their valid BandScope-local behavior remains represented here:
.github/dependabot.ymlroutes GitHub Actions updates to the repository's valid CI/CD taxonomy;test_dependabot_label_contract.pyprevents regression.pull_request_targetas a shortcut.#1026's narrower CodeQL version/uploader tests are semantically covered by the broader all-workflow revision contract here. Predecessor checks, reviews, approvals, and statuses do not transfer.
TDD and repair lineage
e1ed1ced7ac77b36bab9abb744da39a232ecb154: executable contracts required the coordinated v4.37.9 lifecycle and repository trust-boundary behavior before production workflow/config alignment.823a66200f7a9c846147d3632cc167c1c8f08c65: aligned the owning workflows/config/doctoring.e9f222e1ca6e9f818ed1da4c47a522c8260bd5a9: incorporated later repository-control refinements, including deferral of central Scorecard ownership.a08e154e5a4503b01aa60a75ffd423ec8b5fc41b: merges protecteddevelop@889d782e...without force-push and changes only the protected Tauri lockfile relative toe9f222e...; against protected develop the nine-file CodeQL/security semantic delta is unchanged.Exact-head verification
All predecessor-head hosted evidence is invalid for
a08e154e5a4503b01aa60a75ffd423ec8b5fc41b. Fresh exact-head workflows must complete on this head before readiness or merge. Queued/pending/cancelled/skipped-required evidence is non-passing.Split dependency ownership
Fresh v4.37.9 component PRs such as #1135 (
autobuild), #1139 (upload-sarif), and #1141 (analyze) are dependency fragments, not independent lifecycle authority. Do not merge them separately or transfer their checks/reviews. Do not close those split PRs merely because this branch contains their version delta: close them only after this coordinated lifecycle is accepted under the protected merge gate or a verified successor completely inherits their valid delta/evidence contract.#783's JavaScript dependency-security baseline is already in protected
developancestry, so stale text treating #783 as pending is not a blocker here.Security Notes
The change executes one reviewed immutable CodeQL Action revision across all phases and keeps PR script authority on trusted repository state. It adds no application filesystem, URL, model, database, IPC, credential, or runtime-network authority. Pull-request code-scanning upload capability still depends on GitHub token/repository policy; this PR does not fabricate success for forks or actors without required permission.
Merge gate
Keep Draft and unmerged until this unchanged exact head has every applicable repository and central CI/security/SAST/SBOM/supply-chain/coverage/release check terminal-success, zero valid unresolved findings, a qualifying independent non-author last-push approval, and ordinary protected-branch acceptance. Never force-push, self-approve, weaken a gate, or merge one CodeQL phase independently.
Relates to #966.